package com.icetech.eom.service.sys;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.icetech.eom.domain.sys.Role;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wangzw
 * @since 2018-12-10
 */
public interface IRoleService extends IService<Role> {

    List<Role> getAllRole();

    PageInfo<Role> selectByPage(Integer page, Integer pageSize, String searchKey);

    /**
     * 获取默认的角色
     * @return
     */
    List<Role> getDefaultRole();

}
